package com.tencreat.domain.mall;

import com.baomidou.mybatisplus.annotation.*;
import com.tencreat.common.annotation.Excel;
import com.tencreat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


/**
 * 【请填写功能名称】对象 mall_pt_setting
 *
 * @author tencreat
 * @date 2021-12-11
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_pt_setting")
public class MallPtSetting extends BaseEntity<MallPtSetting>{
    private static final long serialVersionUID = 1L;


    /** 拼团设置编号 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    /** 用户等级vip1-5 */
    @Excel(name = "用户等级vip1-5")
    @ApiModelProperty(value= "用户等级vip1-5")
    @TableField("`user_grade`")
    private String userGrade;


    /** 团队业绩 */
    @Excel(name = "团队业绩")
    @ApiModelProperty(value= "团队业绩")
    @TableField("`team_performance`")
    private Integer teamPerformance;


    /** 收益百分比 */
    @Excel(name = "收益百分比")
    @ApiModelProperty(value= "收益百分比")
    @TableField("`profit`")
    private BigDecimal profit;


    /** 单笔订单收益 */
    @Excel(name = "单笔订单收益")
    @ApiModelProperty(value= "单笔订单收益")
    @TableField("`one_order`")
    private BigDecimal oneOrder;


    /** 用户类型 */
    @Excel(name = "用户类型")
    @ApiModelProperty(value= "用户类型")
    @TableField("`user_type`")
    private Integer userType;


    /** 是否直推（0是、2否） */
    @Excel(name = "是否直推", readConverterExp = "0=是、2否")
    @TableField("`is_direct_push`")
    private Integer isDirectPush;


    /** 是否间推（0是、2否） */
    @Excel(name = "是否间推", readConverterExp = "0=是、2否")
    @TableField("`Interpulsion`")
    private Long interpulsion;


    /** 人数 */
    @Excel(name = "人数")
    @ApiModelProperty(value= "人数")
    @TableField("`pep_number`")
    private Integer pepNumber;


    /** 时间（天） */
    @Excel(name = "时间", readConverterExp = "天=")
    @TableField("`time`")
    private Long time;


    /** 拼团卷数量 */
    @Excel(name = "拼团卷数量")
    @ApiModelProperty(value= "拼团卷数量")
    @TableField("`collage_roll_bumber`")
    private Integer collageRollBumber;

    /** 拼团卷数量 */
    @Excel(name = "状态（0正常，1关闭）")
    @ApiModelProperty(value= "状态（0正常，1关闭")
    @TableField("`setting_starts`")
    private Integer settingStarts;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    @TableField("`del_flag`")
    private Long delFlag;






    /** 租户id */
    @Excel(name = "租户id")
    @ApiModelProperty(value= "租户id")
    @TableField("`tenant_id`")
    private Long tenantId;


}
